package com.diamond.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TInlayDiaPic entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "t_inlay_dia_pic", catalog = "diamond")
public class TInlayDiaPic implements java.io.Serializable {

	// Fields

	private Long picId;
	private String inlayDiamondId;
	private String picName;
	private String picCode;
	private String picLine;
	private String isMainPic;

	// Constructors

	/** default constructor */
	public TInlayDiaPic() {
	}

	/** full constructor */
	public TInlayDiaPic(String inlayDiamondId, String picName, String picCode,
			String picLine, String isMainPic) {
		this.inlayDiamondId = inlayDiamondId;
		this.picName = picName;
		this.picCode = picCode;
		this.picLine = picLine;
		this.isMainPic = isMainPic;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "pic_id", unique = true, nullable = false)
	public Long getPicId() {
		return this.picId;
	}

	public void setPicId(Long picId) {
		this.picId = picId;
	}

	@Column(name = "inlay_diamond_id", length = 100)
	public String getInlayDiamondId() {
		return this.inlayDiamondId;
	}

	public void setInlayDiamondId(String inlayDiamondId) {
		this.inlayDiamondId = inlayDiamondId;
	}

	@Column(name = "pic_name", length = 100)
	public String getPicName() {
		return this.picName;
	}

	public void setPicName(String picName) {
		this.picName = picName;
	}

	@Column(name = "pic_code", length = 100)
	public String getPicCode() {
		return this.picCode;
	}

	public void setPicCode(String picCode) {
		this.picCode = picCode;
	}

	@Column(name = "pic_line", length = 100)
	public String getPicLine() {
		return this.picLine;
	}

	public void setPicLine(String picLine) {
		this.picLine = picLine;
	}

	@Column(name = "is_main_pic", length = 100)
	public String getIsMainPic() {
		return this.isMainPic;
	}

	public void setIsMainPic(String isMainPic) {
		this.isMainPic = isMainPic;
	}

}